//
//  RouterMap.swift
//  DYSwiftFramework
//
//  Created by 黄德玉 on 2018/12/6.
//  Copyright © 2018 none. All rights reserved.
//

import Foundation

public class RouterMap{
    // 注册路由的公共部分
    public class func setup(){
        // 根节点
        let root = RouterNode(name: "root", instance: "BaseTabbarController")
        Router.registerNode(node: root)
        // 首页
        let home = RouterNode(name: "home", instance: "HomeViewController")
        Router.registerNode(node: home)

        // 直播
        let vc = RouterNode(name: "vc", instance: "LiveViewContrller")
        Router.registerNode(node: vc)
    }
}


